package com.hdu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 考试类型枚举
 *
 * @author xiaobai
 * @since 2023/11/1
 */
@Getter
public enum TypeLabel {

    TECH(1, "理科"),
    ARTS(2, "文科"),
    GENE(3, "综合"),
    PHYS(4, "物理类"),
    HIST(5, "历史类");

    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    TypeLabel(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
